package cn.com.zsw.gblog.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * OAuth 登录的配置类
 *
 * @author shiwangzhou
 * @date 2021-06-09
 **/
@Configuration
@Getter
public class OauthConfigValue {

    @Value("${spring.security.oauth2.qq.appId}")
    private String qqAppId;
    @Value("${spring.security.oauth2.qq.redirectUri}")
    private String qqRedirectUri;
    @Value("${spring.security.oauth2.qq.appKey}")
    private String qqAppKey;

    @Value("${spring.security.oauth2.gitee.appId}")
    private String giteeAppId;
    @Value("${spring.security.oauth2.gitee.redirectUri}")
    private String giteeRedirectUri;
    @Value("${spring.security.oauth2.gitee.clientSecret}")
    private String giteeClientSecret;


}
